import { http, HttpResponse } from 'msw';

const menuList = http.get('/site/api/sysPermission/menu/*', () => {
  return HttpResponse.json({
    code: 0,
    msg: 'SUCCESS',
    data: [
      {
        id: 137,
        menuName: '角色管理新增',
        code: 'default:system:role-manager:add',
        fatherId: 122,
        orderNum: 1,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 68,
        menuName: '403',
        code: 'default:page-demo:except:except403',
        fatherId: 67,
        orderNum: 1,
        path: '/default/page-demo/except/except403',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'warning',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 1,
        menuName: 'Dashboard',
        code: 'default:dashboard',
        fatherId: 0,
        orderNum: 1,
        path: '/default/dashboard',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: '',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 75,
        menuName: '流程图',
        code: 'default:page-demo:flow:flow-chat',
        fatherId: 74,
        orderNum: 1,
        path: '/default/page-demo/flow/flow-chat',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'highlight',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 91,
        menuName: '缓存滚动条',
        code: 'default:feat:scroll:keep-scroll-page',
        fatherId: 90,
        orderNum: 1,
        path: '/default/feat/scroll/keep-scroll-page',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 65,
        menuName: '成功页',
        code: 'default:page-demo:result:success',
        fatherId: 64,
        orderNum: 1,
        path: '/default/page-demo/result/success',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'check-circle',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 77,
        menuName: '消息提示',
        code: 'default:feat:msg',
        fatherId: 76,
        orderNum: 1,
        path: '/default/feat/msg',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 105,
        menuName: '基础组件',
        code: 'default:comp:basic',
        fatherId: 104,
        orderNum: 1,
        path: '/default/comp/basic',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 72,
        menuName: '个人中心',
        code: 'default:page-demo:personal:personal-center',
        fatherId: 71,
        orderNum: 1,
        path: '/default/page-demo/personal/personal-center',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'user',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 115,
        menuName: 'Menu1-1',
        code: 'default:level:menu1:menu1-1',
        fatherId: 114,
        orderNum: 1,
        path: '/default/level/menu1/menu1-1',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 88,
        menuName: 'zorro文档',
        code: 'default:feat:frame:zorro-doc',
        fatherId: 87,
        orderNum: 1,
        path: '/default/feat/frame/zorro-doc',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 62,
        menuName: '基础详情页',
        code: 'default:page-demo:detail:base-detail',
        fatherId: 61,
        orderNum: 1,
        path: '/default/page-demo/detail/base-detail',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'profile',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 50,
        menuName: '搜索列表(文章)',
        code: 'default:page-demo:list:search-list:article',
        fatherId: 49,
        orderNum: 1,
        path: '/default/page-demo/list/search-list/article',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 45,
        menuName: '基础表单',
        code: 'default:page-demo:form:base-form',
        fatherId: 44,
        orderNum: 1,
        path: '/default/page-demo/form/base-form',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'form',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 40,
        menuName: '分析页',
        code: 'default:dashboard:analysis',
        fatherId: 1,
        orderNum: 1,
        path: '/default/dashboard/analysis',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'fund',
        alIcon: '',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 134,
        menuName: '账号管理新增',
        code: 'default:system:account:add',
        fatherId: 121,
        orderNum: 1,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 148,
        menuName: '可收缩表单',
        code: 'default:comp:form:shrink-form',
        fatherId: 147,
        orderNum: 1,
        path: '/default/comp/form/shrink-form',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'minus-square',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 109,
        menuName: '基础懒加载组件',
        code: 'default:comp:lazy:lazy-basic',
        fatherId: 108,
        orderNum: 1,
        path: '/default/comp/lazy/lazy-basic',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 114,
        menuName: 'Menu1',
        code: 'default:level:menu1',
        fatherId: 113,
        orderNum: 1,
        path: '/default/level/menu1',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'menu',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 98,
        menuName: '第一种',
        code: 'blank:other-login:login1',
        fatherId: 97,
        orderNum: 1,
        path: '/blank/other-login/login1',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'highlight',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 49,
        menuName: '搜索列表',
        code: 'default:page-demo:list:search-list',
        fatherId: 48,
        orderNum: 1,
        path: '/default/page-demo/list/search-list',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 121,
        menuName: '账号管理',
        code: 'default:system:account',
        fatherId: 120,
        orderNum: 1,
        path: '/default/system/account',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'menu',
        alIcon: '',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 130,
        menuName: '部门管理新增',
        code: 'default:system:dept:add',
        fatherId: 124,
        orderNum: 1,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 44,
        menuName: '表单页',
        code: 'default:page-demo:form',
        fatherId: 43,
        orderNum: 1,
        path: '/default/page-demo/form',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'form',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 116,
        menuName: 'Menu1-1-1',
        code: 'default:level:menu1:menu1-1:menu1-1-1',
        fatherId: 115,
        orderNum: 1,
        path: '/default/level/menu1/menu1-1/menu1-1-1',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 126,
        menuName: '菜单管理新增',
        code: 'default:system:menu:add',
        fatherId: 123,
        orderNum: 1,
        path: null,
        menuType: 'F',
        visible: true,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 94,
        menuName: '高德',
        code: 'default:feat:charts:gaode-map',
        fatherId: 93,
        orderNum: 1,
        path: '/default/feat/charts/gaode-map',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'highlight',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 89,
        menuName: '外部链接',
        code: 'https://github.com/huajian123/ng-antd-admin',
        fatherId: 87,
        orderNum: 2,
        path: 'https://github.com/huajian123/ng-antd-admin',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'usergroup-delete',
        alIcon: null,
        newLinkFlag: true,
        createTime: null,
        updateTime: null
      },
      {
        id: 63,
        menuName: '高级详情页',
        code: 'default:page-demo:detail:adv-detail',
        fatherId: 61,
        orderNum: 2,
        path: '/default/page-demo/detail/adv-detail',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'profile',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 51,
        menuName: '搜索列表(项目)',
        code: 'default:page-demo:list:search-list:project',
        fatherId: 49,
        orderNum: 2,
        path: '/default/page-demo/list/search-list/project',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 46,
        menuName: '分步表单',
        code: 'default:page-demo:form:step-form',
        fatherId: 44,
        orderNum: 2,
        path: '/default/page-demo/form/step-form',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'form',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 118,
        menuName: 'Menu1-2',
        code: 'default:level:menu1:menu1-2',
        fatherId: 114,
        orderNum: 2,
        path: '/default/level/menu1/menu1-2',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'menu',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 41,
        menuName: '监控页',
        code: 'default:dashboard:monitor',
        fatherId: 1,
        orderNum: 2,
        path: '/default/dashboard/monitor',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'fund',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 135,
        menuName: '账号管理编辑',
        code: 'default:system:account:edit',
        fatherId: 121,
        orderNum: 2,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 110,
        menuName: '滚动懒加载',
        code: 'default:comp:lazy:lazy-scroll',
        fatherId: 108,
        orderNum: 2,
        path: '/default/comp/lazy/lazy-scroll',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 53,
        menuName: '查询表格',
        code: 'default:page-demo:list:search-table',
        fatherId: 48,
        orderNum: 2,
        path: '/default/page-demo/list/search-table',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 48,
        menuName: '列表页',
        code: 'default:page-demo:list',
        fatherId: 43,
        orderNum: 2,
        path: '/default/page-demo/list',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 43,
        menuName: '页面',
        code: 'default:page-demo',
        fatherId: 0,
        orderNum: 2,
        path: '/default/page-demo',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'appstore',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 131,
        menuName: '部门管理编辑',
        code: 'default:system:dept:edit',
        fatherId: 124,
        orderNum: 2,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 122,
        menuName: '角色管理',
        code: 'default:system:role-manager',
        fatherId: 120,
        orderNum: 2,
        path: '/default/system/role-manager',
        menuType: 'C',
        visible: true,
        status: true,
        icon: '',
        alIcon: 'icon-mel-help',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 117,
        menuName: 'Menu1-1-2',
        code: 'default:level:menu1:menu1-1:menu1-1-2',
        fatherId: 115,
        orderNum: 2,
        path: '/default/level/menu1/menu1-1/menu1-1-2',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 127,
        menuName: '菜单管理编辑',
        code: 'default:system:menu:edit',
        fatherId: 123,
        orderNum: 2,
        path: null,
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 95,
        menuName: '百度',
        code: 'default:feat:charts:baidu-map',
        fatherId: 93,
        orderNum: 2,
        path: '/default/feat/charts/baidu-map',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'highlight',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 138,
        menuName: '角色管理编辑',
        code: 'default:system:role-manager:edit',
        fatherId: 122,
        orderNum: 2,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 69,
        menuName: '404',
        code: 'default:page-demo:except:except404',
        fatherId: 67,
        orderNum: 2,
        path: '/default/page-demo/except/except404',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'warning',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 150,
        menuName: '表单增删',
        code: 'default:comp:form:append-form',
        fatherId: 147,
        orderNum: 2,
        path: '/default/comp/form/append-form',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'chrome',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 119,
        menuName: 'Menu2',
        code: 'default:level:menu2',
        fatherId: 113,
        orderNum: 2,
        path: '/default/level/menu2',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'menu',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 92,
        menuName: '玩弄滚动条',
        code: 'default:feat:scroll:play-scroll',
        fatherId: 90,
        orderNum: 2,
        path: '/default/feat/scroll/play-scroll',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 66,
        menuName: '失败页',
        code: 'default:page-demo:result:fail',
        fatherId: 64,
        orderNum: 2,
        path: '/default/page-demo/result/fail',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'check-circle',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 78,
        menuName: '图标',
        code: 'default:feat:icons',
        fatherId: 76,
        orderNum: 2,
        path: '/default/feat/icons',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 106,
        menuName: '动画组件',
        code: 'default:comp:transition',
        fatherId: 104,
        orderNum: 2,
        path: '/default/comp/transition',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 73,
        menuName: '个人设置',
        code: 'default:page-demo:personal:personal-setting',
        fatherId: 71,
        orderNum: 2,
        path: '/default/page-demo/personal/personal-setting',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'user',
        alIcon: '',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 54,
        menuName: '树状表格',
        code: 'default:page-demo:list:tree-list',
        fatherId: 48,
        orderNum: 3,
        path: '/default/page-demo/list/tree-list',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 128,
        menuName: '菜单管理删除',
        code: 'default:system:menu:del',
        fatherId: 123,
        orderNum: 3,
        path: null,
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 139,
        menuName: '角色管理删除',
        code: 'default:system:role-manager:del',
        fatherId: 122,
        orderNum: 3,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 70,
        menuName: '500',
        code: 'default:page-demo:except:except500',
        fatherId: 67,
        orderNum: 3,
        path: '/default/page-demo/except/except500',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'warning',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 123,
        menuName: '菜单管理',
        code: 'default:system:menu',
        fatherId: 120,
        orderNum: 3,
        path: '/default/system/menu',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'menu',
        alIcon: '',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 79,
        menuName: '右键菜单',
        code: 'default:feat:context-menu',
        fatherId: 76,
        orderNum: 3,
        path: '/default/feat/context-menu',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 107,
        menuName: '在线excel',
        code: 'default:comp:luckysheet',
        fatherId: 104,
        orderNum: 3,
        path: '/default/comp/luckysheet',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 76,
        menuName: '功能',
        code: 'default:feat',
        fatherId: 0,
        orderNum: 3,
        path: '/default/feat',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'star',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 96,
        menuName: 'Echarts',
        code: 'default:feat:charts:echarts',
        fatherId: 93,
        orderNum: 3,
        path: '/default/feat/charts/echarts',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'highlight',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 52,
        menuName: '搜索列表(应用)',
        code: 'default:page-demo:list:search-list:application',
        fatherId: 49,
        orderNum: 3,
        path: '/default/page-demo/list/search-list/application',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 47,
        menuName: '高级表单',
        code: 'default:page-demo:form:advanced-form',
        fatherId: 44,
        orderNum: 3,
        path: '/default/page-demo/form/advanced-form',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'form',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 42,
        menuName: '工作台',
        code: 'default:dashboard:workbench',
        fatherId: 1,
        orderNum: 3,
        path: '/default/dashboard/workbench',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'appstore',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 136,
        menuName: '账号管理删除',
        code: 'default:system:account:del',
        fatherId: 121,
        orderNum: 3,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 61,
        menuName: '详情页',
        code: 'default:page-demo:detail',
        fatherId: 43,
        orderNum: 3,
        path: '/default/page-demo/detail',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'profile',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 132,
        menuName: '部门管理删除',
        code: 'default:system:dept:del',
        fatherId: 124,
        orderNum: 3,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 80,
        menuName: '图片预览',
        code: 'default:feat:img-preview',
        fatherId: 76,
        orderNum: 4,
        path: '/default/feat/img-preview',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 108,
        menuName: '组件懒加载',
        code: 'default:comp:lazy',
        fatherId: 104,
        orderNum: 4,
        path: '/default/comp/lazy',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 124,
        menuName: '部门管理',
        code: 'default:system:dept',
        fatherId: 120,
        orderNum: 4,
        path: '/default/system/dept',
        menuType: 'C',
        visible: true,
        status: true,
        icon: '',
        alIcon: 'icon-mel-help',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 133,
        menuName: '部门管理添加下级',
        code: 'default:system:dept:addlowlevel',
        fatherId: 124,
        orderNum: 4,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 64,
        menuName: '结果页',
        code: 'default:page-demo:result',
        fatherId: 43,
        orderNum: 4,
        path: '/default/page-demo/result',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'check-circle',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 55,
        menuName: '标准表格',
        code: 'default:page-demo:list:standard-table',
        fatherId: 48,
        orderNum: 4,
        path: '/default/page-demo/list/standard-table',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 104,
        menuName: '组件',
        code: 'default:comp',
        fatherId: 0,
        orderNum: 4,
        path: '/default/comp',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'star',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 129,
        menuName: '菜单管理添加下级',
        code: 'default:system:menu:addlowlevel',
        fatherId: 123,
        orderNum: 4,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 140,
        menuName: '角色管理设置角色',
        code: 'default:system:role-manager:set-role',
        fatherId: 122,
        orderNum: 4,
        path: '',
        menuType: 'F',
        visible: false,
        status: true,
        icon: null,
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 146,
        menuName: '网络错误',
        code: 'default:page-demo:except:network-error',
        fatherId: 67,
        orderNum: 4,
        path: '/default/page-demo/except/network-error',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'warning',
        alIcon: '',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 113,
        menuName: '多级菜单',
        code: 'default:level',
        fatherId: 0,
        orderNum: 5,
        path: '/default/level',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'menu',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 81,
        menuName: '全屏',
        code: 'default:feat:full-screen',
        fatherId: 76,
        orderNum: 5,
        path: '/default/feat/full-screen',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 56,
        menuName: '卡片列表',
        code: 'default:page-demo:list:card-table',
        fatherId: 48,
        orderNum: 5,
        path: '/default/page-demo/list/card-table',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'table',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 149,
        menuName: '无数据',
        code: 'default:page-demo:except:no-data',
        fatherId: 67,
        orderNum: 5,
        path: '/default/page-demo/except/no-data',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'warning',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 67,
        menuName: '异常页',
        code: 'default:page-demo:except',
        fatherId: 43,
        orderNum: 5,
        path: '/default/page-demo/except',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'warning',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 111,
        menuName: '详情组件',
        code: 'default:comp:desc',
        fatherId: 104,
        orderNum: 5,
        path: '/default/comp/desc',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 120,
        menuName: '系统管理',
        code: 'default:system',
        fatherId: 0,
        orderNum: 6,
        path: '/default/system',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'menu',
        alIcon: '',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 112,
        menuName: '密码强度校验组件',
        code: 'default:comp:strength-meter',
        fatherId: 104,
        orderNum: 6,
        path: '/default/comp/strength-meter',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 71,
        menuName: '个人页',
        code: 'default:page-demo:personal',
        fatherId: 43,
        orderNum: 6,
        path: '/default/page-demo/personal',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'user',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 82,
        menuName: '标签页操作',
        code: 'default:feat:tabs',
        fatherId: 76,
        orderNum: 6,
        path: '/default/feat/tabs',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 147,
        menuName: 'Form',
        code: 'default:comp:form',
        fatherId: 104,
        orderNum: 7,
        path: '/default/comp/form',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'form',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 125,
        menuName: '关于',
        code: 'default:about',
        fatherId: 0,
        orderNum: 7,
        path: '/default/about',
        menuType: 'C',
        visible: true,
        status: true,
        icon: '',
        alIcon: 'icon-medium',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 83,
        menuName: '拖拽modal',
        code: 'default:feat:ex-modal',
        fatherId: 76,
        orderNum: 7,
        path: '/default/feat/ex-modal',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 74,
        menuName: '图形编辑器',
        code: 'default:page-demo:flow',
        fatherId: 43,
        orderNum: 7,
        path: '/default/page-demo/flow',
        menuType: 'C',
        visible: true,
        status: true,
        icon: null,
        alIcon: 'icon-mel-help',
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 84,
        menuName: '封装抽屉',
        code: 'default:feat:ex-drawer',
        fatherId: 76,
        orderNum: 8,
        path: '/default/feat/ex-drawer',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 160,
        menuName: 'blingbling',
        code: 'default:comp:comp1',
        fatherId: 104,
        orderNum: 8,
        path: '/default/comp/comp1',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'caret-down',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 151,
        menuName: '任务',
        code: 'default:page-demo:task',
        fatherId: 43,
        orderNum: 8,
        path: '/default/page-demo/task',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'border-bottom',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 166,
        menuName: '新布局',
        code: 'default:page-demo:page-demo1',
        fatherId: 43,
        orderNum: 9,
        path: '/default/page-demo/page-demo1',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'caret-down',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 85,
        menuName: '富文本',
        code: 'default:feat:rich-text',
        fatherId: 76,
        orderNum: 9,
        path: '/default/feat/rich-text',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 161,
        menuName: '新组件2',
        code: 'default:comp:comp2',
        fatherId: 104,
        orderNum: 9,
        path: '/default/comp/comp2',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'caret-right',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 86,
        menuName: 'clickOutSide',
        code: 'default:feat:click-out-side',
        fatherId: 76,
        orderNum: 10,
        path: '/default/feat/click-out-side',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 162,
        menuName: '新组件3',
        code: 'default:comp:comp3',
        fatherId: 104,
        orderNum: 10,
        path: '/default/comp/comp3',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'caret-left',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 154,
        menuName: '新页面2',
        code: 'default:page-demo:page-demo2',
        fatherId: 43,
        orderNum: 10,
        path: '/default/page-demo/page-demo2',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'up',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 164,
        menuName: '新组件4',
        code: 'default:comp:comp4',
        fatherId: 104,
        orderNum: 11,
        path: '/default/comp/comp4',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'down',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 167,
        menuName: '新页面3',
        code: 'default:page-demo:page-demo3',
        fatherId: 43,
        orderNum: 11,
        path: '/default/page-demo/page-demo3',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'down',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 87,
        menuName: '外部文档',
        code: 'default:feat:frame',
        fatherId: 76,
        orderNum: 11,
        path: '/default/feat/frame',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 168,
        menuName: '新页面4',
        code: 'default:page-demo:page-demo4',
        fatherId: 43,
        orderNum: 12,
        path: '/default/page-demo/page-demo4',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'caret-down',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 165,
        menuName: '新组件5',
        code: 'default:comp:comp5',
        fatherId: 104,
        orderNum: 12,
        path: '/default/comp/comp5',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'caret-down',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 90,
        menuName: '滚动条',
        code: 'default:feat:scroll',
        fatherId: 76,
        orderNum: 12,
        path: '/default/feat/scroll',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 93,
        menuName: '图表',
        code: 'default:feat:charts',
        fatherId: 76,
        orderNum: 13,
        path: '/default/feat/charts',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 97,
        menuName: '其他登录方式',
        code: 'blank:other-login',
        fatherId: 76,
        orderNum: 14,
        path: '/blank/other-login',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'dashboard',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 99,
        menuName: '颜色选择器',
        code: 'default:feat:color-sel',
        fatherId: 76,
        orderNum: 15,
        path: '/default/feat/color-sel',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'usergroup-delete',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 100,
        menuName: '水波纹',
        code: 'default:feat:ripple',
        fatherId: 76,
        orderNum: 16,
        path: '/default/feat/ripple',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'usergroup-delete',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 101,
        menuName: '剪切板',
        code: 'default:feat:copy',
        fatherId: 76,
        orderNum: 17,
        path: '/default/feat/copy',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'usergroup-delete',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 102,
        menuName: '空白页',
        code: 'blank:empty-page',
        fatherId: 76,
        orderNum: 18,
        path: '/blank/empty-page',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'usergroup-delete',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 103,
        menuName: '引导页',
        code: 'default:feat:setup',
        fatherId: 76,
        orderNum: 19,
        path: '/default/feat/setup',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'codepen',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 141,
        menuName: '登录超时',
        code: 'default:feat:session-timeout',
        fatherId: 76,
        orderNum: 20,
        path: '/default/feat/session-timeout',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'yuque',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 142,
        menuName: 'websocket',
        code: 'default:feat:websocket',
        fatherId: 76,
        orderNum: 21,
        path: '/default/feat/websocket',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'border-horizontal',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 144,
        menuName: '文件上传',
        code: 'default:feat:upload',
        fatherId: 76,
        orderNum: 22,
        path: '/default/feat/upload',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'up',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 143,
        menuName: '文件下载',
        code: 'default:feat:download',
        fatherId: 76,
        orderNum: 23,
        path: '/default/feat/download',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'arrow-down',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 152,
        menuName: '二维码',
        code: 'default:feat:qrcode',
        fatherId: 76,
        orderNum: 24,
        path: '/default/feat/qrcode',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'gitlab',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 153,
        menuName: '水印',
        code: 'default:feat:water-mark',
        fatherId: 76,
        orderNum: 25,
        path: '/default/feat/water-mark',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'windows',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 155,
        menuName: '新功能1',
        code: 'default:feat:feat1',
        fatherId: 76,
        orderNum: 26,
        path: '/default/feat/feat1',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'arrows-alt',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 156,
        menuName: '新功能2',
        code: 'default:feat:feat2',
        fatherId: 76,
        orderNum: 27,
        path: '/default/feat/feat2',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'caret-down',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 157,
        menuName: '新功能3',
        code: 'default:feat:feat3',
        fatherId: 76,
        orderNum: 28,
        path: '/default/feat/feat3',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'caret-right',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 158,
        menuName: '新功能4',
        code: 'default:feat:feat4',
        fatherId: 76,
        orderNum: 29,
        path: '/default/feat/feat4',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'caret-left',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      },
      {
        id: 159,
        menuName: '新功能5',
        code: 'default:feat:feat5',
        fatherId: 76,
        orderNum: 30,
        path: '/default/feat/feat5',
        menuType: 'C',
        visible: true,
        status: true,
        icon: 'up-circle',
        alIcon: null,
        newLinkFlag: false,
        createTime: null,
        updateTime: null
      }
    ]
  });
});

// 删除用户，入参示例为，删除id为3的角色
// {
//   ids:[3]
// }
const delMenu = http.post('/site/api/sysPermission/del', () => {
  return HttpResponse.json({ code: 0, msg: 'SUCCESS', data: null });
});

const getMenuInfo = http.get('/site/api/sysPermission/*', () => {
  return HttpResponse.json({
    code: 0,
    msg: 'SUCCESS',
    data: {
      id: 1,
      menuName: 'Dashboard',
      code: 'default:dashboard',
      fatherId: 0,
      orderNum: 1,
      path: '/default/dashboard',
      menuType: 'C',
      visible: true,
      status: true,
      icon: 'dashboard',
      alIcon: '',
      newLinkFlag: false,
      createTime: 1648685024000,
      updateTime: 1652247739000
    }
  });
});

const updateMenu = http.put('/site/api/sysPermission', () => {
  return HttpResponse.json({ code: 0, msg: 'SUCCESS', data: null });
});

// 删除菜单，入参示例为，删除id为3的菜单
// {
//   ids:[3]
// }
const delRole = http.post('/site/api/sysPermission/del/', () => {
  return HttpResponse.json({ code: 0, msg: 'SUCCESS', data: null });
});

// 添加子菜单，入参示例为，添加一个子菜单
// {
//   "menuName": "菜单名称",
//   "code": "default:dashboard:test",
//   "orderNum": 4,
//   "menuType": "C",
//   "path": "/default/dashboard/test",
//   "visible": true,
//   "status": true,
//   "newLinkFlag": false,
//   "icon": "caret-right",
//   "alIcon": null,
//   "fatherId": 1 // 对应父级菜单的id
// }
const addChild = http.post('/site/api/sysPermission', () => {
  return HttpResponse.json({ code: 0, msg: 'SUCCESS', data: null });
});

export const menu = [menuList, delMenu, getMenuInfo, updateMenu, delRole, addChild];
